<!--<div class="container">

  
                <p style="font-size: 15px;">Please <strong>Register</strong> and take the <span class="pacem-font">PACEM</span> survey</p><br/>
            </div>
            <?php //echo $this->Form->create('Info', array('id' => 'register-form', 'url' => array('controller' => 'Infos', 'action' => 'register'),'inputDefaults' => array('label' => false,'div' => false)));?>
            <div class="span2 form-lable">
                <span>Company Name: &nbsp;<span class="required-field">*</span>&nbsp;</span>
            </div>
            <div class="span3">
                <?php //echo $this->Form->input('company_name', array('div' => false, 'label' => false, 'id'=>'company_name','value'=>'', 'placeholder'=>'Company Name')); ?>
            </div>
            <div class="span2 form-lable">
                <span>Full Name: &nbsp;<span class="required-field">*</span>&nbsp;</span> 
            </div>
            <div class="span3">
                <?php //echo $this->Form->input('name', array('div' => false, 'label' => false, 'id'=>'name', 'value'=>'', 'placeholder'=>'Full Name')); ?>
            </div>
            <div class="span2 form-lable">
                <span>Position: &nbsp;<span class="required-field">*</span>&nbsp;</span>
            </div>
            <div class="span3">
                <?php //echo $this->Form->input('position', array('div' => false, 'label' => false, 'id'=>'position','value'=>'', 'placeholder'=>'Manager')); ?>
            </div>
            <div class="span2 form-lable">
                <span>Email Address: &nbsp;<span class="required-field">*</span>&nbsp;</span>
            </div>
            <div class="span3">
                <?php //echo $this->Form->input('email', array('div' => false, 'label' => false, 'id'=>'email','value'=>'', 'placeholder'=>'email@email.com')); ?>
            </div>
           
            <div class="offset2 span3">
                <?php //echo $this->Form->button(__('CLICK HERE FOR PACEM',true), array('div' => false, 'label' => false, 'class' => 'btn btn-large btn-primary','id' => 'save-btn', 'type'=>'submit')); ?>
            </div>
            </form>

        </div>

    </div>

    <div class="row">
        <div class="span5 offset1">
            <div class="faint-bg">
                <h2 style="font-family: Krungthep;"><?php //echo $this->Html->image('file_edit.png', array( 'border' => '0','height'=>'35','width'=>'35'));?>Welcome to <span class="pacem-font">PACEM</span></h2>
                <p style="font-size: 16px;">We give proactive, attruistic advice which leadership team can use to translate organizational potential into remarkable results.</p>
            </div>
        </div>
        <div class="span7">

        </div>

    </div>
    <div class="pad"></div>
    <div class="row offset1">
        <div class="span2 for-links">
            <a href="#" class="btn btn-large btn-primary">Homepage</a>
        </div>
        <div class="span2 for-links">
            <a href="#" class="btn btn-large btn-primary">Pacem Overview</a>
        </div>
    </div>
</div>-->

<style type="text/css">    
    label.error { font-size: 11px; width: 160px; display: block; float: right; color: red; padding-left: 10px; padding-top: 10px;} 
</style> 

<div id="mid">
        <div class="welcome-text">Get a free business analysis report</div>
    <div id="leftcol">
        <div class="advan">
            Take advantage of our <span style="font-family:Wide Latin">PACEM</span> <span style="font-size:20px; font-family:Garamond"><i>Diagnostics</i></span> business tool
         </div>
        <div id="text">
            <p style="font-size:16px"><i>
                    <ul style="padding-left:150px; margin-top: -45px;">
                        <li><i>A snapshot of your current business potential - people, systems and strategy factors.</i></li>
                        <li><i>Identification of key areas in need of change.</i></li>
                        <li><i>Provision of possible solution you can implement.</i></li>
                    
                    </ul>
                </i></p>
        </div>

    </div>
    
    <?php echo $this->Form->create('Info', array('id' => 'register-form', 'url' => array('controller' => 'Infos', 'action' => 'register'),'inputDefaults' => array('label' => false,'div' => false)));?>
    <div id="rigtcol">
        <form id="register">
            <div> 
                
            <div class="label-input">Company Name:&nbsp;<span class="required-field">*</span></div>
            <div style="float:left">
                <?php echo $this->Form->input('company_name', array('class'=>'input', 'div' => false, 'label' => false, 'id'=>'company_name','value'=>'', 'placeholder'=>' ')); ?>
            </div>
    </div>
            <br/><br/><br/>

            <div class="label-input">Full Name:&nbsp;<span class="required-field">*</span></div>
            <div style="float:left">
                <?php echo $this->Form->input('name', array('class'=>'input', 'div' => false, 'label' => false, 'id'=>'name','value'=>'', 'placeholder'=>'')); ?>
            </div><br/><br/><br/>

            <div class="label-input">Position:&nbsp;<span class="required-field">*</span></div>
            <div style="float:left">
                <?php echo $this->Form->select('position', array('CEO/COO/GM'=>'CEO/COO/GM','Senior Manager'=>'Senior Manager','Junior Manager'=>'Junior Manager','Supervisor'=>'Supervisor','Senior Staff'=>'Senior Staff')); ?>
               <?php //echo $this->Form->input('position', array('class'=>'input', 'div' => false, 'label' => false, 'id'=>'position','value'=>'', 'placeholder'=>'')); ?>
            </div><br/><br/><br/>

            <div class="label-input">Email:&nbsp;<span class="required-field">*</span></div>
            <div style="float:left">
               <?php echo $this->Form->input('email', array('class'=>'input', 'div' => false, 'label' => false, 'id'=>'email','value'=>'', 'placeholder'=>'')); ?>
            </div><br/><br/><br/>

            <div class="label-input" style=""></div>
            <div style="float:left; font-family:Wide Latin; margin-left:88px;">
                <?php echo $this->Form->button(__('Click For PACEM Test',true), array('label' => false, 'class'=>'save-btn', 'id' => 'save-btn', 'type'=>'submit')); ?>
                <!--<input type="submit" id="submit"  value="Click for PACEM"/>--></div><br/><br/><br/>
        </form></div>
</div>
<div><br/><br/><br/><br/>&nbsp;&nbsp;&nbsp;</div>

<?php
//Js for Bootstrap UI
//echo $this->Html->script('bootstrap/login.js', array('inline' => true));
?>

<script type="text/javascript">
   $("#save-btn").click(function() {
              $("#register-form").validate({ 
                rules: { 
                  'data[Info][company_name]': "required",
                  'data[Info][name]': "required",
                  'data[Info][position]': "required",// simple rule, converted to {required:true} 
                  'data[Info][email]': {// compound rule 
                  required: true, 
                  email: true 
                }
                },                
                messages: { 
                  'data[Info][company_name]': "Please enter company name." ,
                  'data[Info][name]':"Please enter your full name",
                  'data[Info][position]': "Please enter your position"
                } 
              }); 
            }); 
</script>